<template>
  <div>
    <button @click="goback">后退</button>
    <h4> 用户信息----{{id}}</h4>
  </div>
</template>

<script>
export default {
    name:'UserDetail',
    props:['id','shuju'],
    methods:{
        goback(){
            this.$router.go(-1)
        }
    }

}
</script>

<style>

</style>